package cn.school.mybaits.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Grade implements Serializable {
	private static final long serialVersionUID = 1L;
	private long id;
	private String gname;

	public Grade() {

	}

	public Grade(String gname) {
		this.gname = gname;
	}

	public Grade(long id, String gname) {
		super();
		this.id = id;
		this.gname = gname;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getGname() {
		return gname;
	}

	public void setGname(String gname) {
		this.gname = gname;
	}

	@Override
	public String toString() {
		return "grade [id=" + id + ", gname=" + gname + "]";
	}

}
